home *** CD-ROM | disk | FTP | other *** search
- G4C
-
- ; GetString
- ; Get a string from user & pass it to $gui $rtn given
-
- ; Use :
- ; GUILOAD GUIS:TOOLS/RTN/GETSTRING Title StartingString Gui Routine Multi
-
- WINBIG -1 -1 450 27 ""
- WinType 11110010
- BOX 0 0 0 0 out button
-
- xonload title string gui rtn multi
- gosub getstring startup
-
- xonreload title string gui rtn multi
- gosub getstring startup
-
- xRoutine startup
- guiopen getstring
- setwintitle getstring "$title "
- update getstring 1 $string
- setgad getstring 1 ON
-
- xonclose
- guiquit getstring
-
- XTEXTIN 5 5 438 17 "" string "" 150
- gadid 1
- if $string > ' '
- gosub $gui $rtn '$getstring/string'
- endif
- if $multi == multi
- ; do multiple strings
- else
- guiquit getstring
- endif
-
-
-